package model

import "jgt-oper/src/schema"

type IResourceReserved interface {
	Create(item *schema.ResourceReserved) error
	Get(recordID string) (*schema.ResourceReserved, error)
	QueryItems(resourceID, date string) ([]*schema.ResourceReserved, error)
	Update(recordID string, info map[string]interface{}) error
	QueryReservedPage(params *schema.ResourceReservedQParams) (int, []*schema.ResourceReserved, error)
}
